package com.sanyang.lawyer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @program: lawyer
 * @description: 角色权限表
 * @author: Mis.Feng
 * @create: 2019-10-10 17:58
 **/

@Data
@TableName(value = "system_role_authority")
public class System_role_authority {
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    @TableField(exist = false)
    private System_role systemRole; //角色外键
    @TableField(exist = false)
    private System_authority systemAuthority;//权限外键
}
